import sqlite3

conn = sqlite3.connect('niit.sqlite')
cur = conn.cursor()
sql_delete = 'delete from student where stu_id = ?'
cur.execute(sql_delete, (1002,))
conn.commit()
conn.close()
print('删除成功。。。')
